<template>
  <div class="contatent animated fadeIn">
    <div style="height:100%;" v-watermark="{text:'健康险广东分公司',textColor:'rgba(255, 255, 255, 0.5)'}">
       <div class="text-img">
      <div
        class="text-img-box"
        style="margin-top
        25px!important;"
      >
        <img src="@/assets/text1.png" alt="" />
      </div>
    </div>
    <div class="title">
      模板海报选择
    </div>
    <div class="img-content">
      <div class="img-boxs pd-box-1 animated fadeIn bounce" @click="chose2">
        <img src="@/assets/left.png" alt="" />
      </div>
      <div class="img-boxs pd-box-2 animated fadeIn" @click="chose1">
        <img src="@/assets/right.png" alt="" />
      </div>
    </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      show: false
    };
  },
  created() {},
  mounted() {
    this.show = true;
  },
  methods: {
    chose1() {
      this.$router.push({
        path: "template1"
      });
    },
    chose2() {
      this.$router.push({
        path: "template2"
      });
    }
  }
};
</script>

<style scoped lang="less">
.img-content {
  display: flex;
  padding: 5px;
}
.img-boxs {
  flex: 1;
  // padding: 10px;
}
.img-boxs img {
  width: 100%;
  // margin: 5px;
}
.contatent {
  height: 100%;
  background: url("~@/assets/dashboard.png");
  background-clip: content-box;
  background-size: 100%;
}
.title {
  margin-top: 10px;
  width: 150px;
  background: white;
  border: 1px solid black;
  padding: 6px 11px;
  color: red;
  margin: 0 auto;
  border-radius: 10px;
  margin-bottom: 60px;
  margin-top: 20px;
}
.bounce-enter-active {
  animation: bounce-in 1s;
}
.bounce-leave-active {
  animation: bounce-in 1s reverse;
}
@keyframes bounce-in {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
.pd-box-1{
 padding-right: 5px;
}.pd-box-2{
 padding-left: 5px;
}
</style>
